<?php

namespace app\admin\validate;

use app\common\validate\BaseValidate;

class OrderValidate extends BaseValidate
{
    protected $rule = [
        "prompt|内容" => 'requireIf:type,v1',
        "n|数量" => 'requireIf:type,v1',
        "size|尺寸" => 'requireIf:type,v1',
    ];

    protected $message = [];
    
    
    protected $scene = [
        "add" => ['prompt','n','size']
    ];
}